home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK1.toast / Development Kits (Disc 1) / QuickDraw GX / Programming Stuff / Sample Code / Graphics Samples / ShapePart Browser ƒ / Main.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-15  |  996 b   |  38 lines  |  [TEXT/KAHL]

  1. /*
  2.  *    Main.h
  3.  *
  4.  *    Robert Dierkes,  November 11, 1993
  5.  *
  6.  *    Change History:
  7.  *
  8.  *       11/93    ???        New
  9.  *       4/96        bob        Removed unused Macros (GetWindowKind & SetWindowKind)
  10.  *                        Added the copyright info.
  11.  *
  12.  *
  13.  *        © Apple Computer, Inc. 1990 - 1996  All rights reserved
  14.  *
  15.  */
  16.  
  17. #define        kGraphicsHeapSize    (100 * 1024L)
  18.  
  19. #define        kHiliteAllMenus        (short) 0
  20. #define        kWindowOnTop        ((WindowPtr) -1)
  21. #define        kWindowTitleHeight    (short) 20
  22.  
  23.  
  24. Boolean    InitApp (void);
  25. void ExitApp (void);
  26. void InitializeMenus (void);
  27. WindowPtr InitializeWindow (void);
  28. void DoContentClick (EventRecord *pEvent, WindowPtr pWindow);
  29. void DoMenuCommand (long menuResult);
  30. void DoGrowBox (EventRecord *pEvent, WindowPtr pWindow);
  31. void DoZoomBox (EventRecord *pEvent, WindowPtr pWindow, short windowPart);
  32. void DoNullEvent (EventRecord *pEvent);
  33. void DoMouseDown (EventRecord *pEvent);
  34. void DoKeyStroke (EventRecord *pEvent);
  35. void DoUpdate (EventRecord *pEvent);
  36. void DoActivate (EventRecord *pEvent);
  37. void DoEvent (void);
  38.